package com.sunwayhorizo.health.business.dto.patad.encounter;

import org.hibernate.validator.constraints.NotEmpty;

import com.sunwayhorizo.health.business.dto.DictionaryDTO;
import com.sunwayhorizo.health.common.validateGroups.NewOutHospital;

public class DischargedDTO
{
    /**
     * 床位号
     */
    private String bedNo;
    /**
     * 床位角色id
     */
    private String bedRoleId;
    /**
     * 工作组编码
     */
    @NotEmpty(message = "工作组编码不能为空！", groups = NewOutHospital.class)
    private String workgroupCode;
    
    /**
     * 工作组名称
     */
    private String workGroupName;
    
    /**
     * 患者id
     */
    @NotEmpty(message = "患者id不能为空！", groups = NewOutHospital.class)
    private String patientNeturalId;
    /**
     * 入科时间
     */
    private String inDeparmentTime;
    /**
     * 出院方式(预出院:AppointmentOut、正常出院:NormalOut、转院:TransfersOut、死亡:Death、其他:Other)
     */
    private DictionaryDTO outWay;
    /**
     * 出院时间
     */
    private String outTime;

    /**
     * 出院诊断
     */
    private DictionaryDTO diagnosisName;

    @Override
    public String toString()
    {
        return "DischargedDTO [\n床位号=" + bedNo + ",\n 床位角色id=" + bedRoleId + ",\n 患者id=" + patientNeturalId + ",\n 入科时间=" + inDeparmentTime
                + ",\n 出院方式=" + outWay + ",\n 出院时间=" + outTime + "]";
    }


    public String getBedNo()
    {
        return bedNo;
    }


    public void setBedNo(String bedNo)
    {
        this.bedNo = bedNo;
    }


    public String getPatientNeturalId()
    {
        return patientNeturalId;
    }


    public void setPatientNeturalId(String patientNeturalId)
    {
        this.patientNeturalId = patientNeturalId;
    }


    public String getInDeparmentTime()
    {
        return inDeparmentTime;
    }


    public void setInDeparmentTime(String inDeparmentTime)
    {
        this.inDeparmentTime = inDeparmentTime;
    }


    public DictionaryDTO getOutWay()
    {
        return outWay;
    }


    public void setOutWay(DictionaryDTO outWay)
    {
        this.outWay = outWay;
    }


    public String getOutTime()
    {
        return outTime;
    }


    public void setOutTime(String outTime)
    {
        this.outTime = outTime;
    }


    public void setBedRoleId(String bedRoleId)
    {
        this.bedRoleId = bedRoleId;
    }


    public String getBedRoleId()
    {
        return bedRoleId;
    }


    public void setWorkgroupCode(String workgroupCode)
    {
        this.workgroupCode = workgroupCode;
    }


    public String getWorkgroupCode()
    {
        return workgroupCode;
    }


    public String getWorkGroupName()
    {
        return workGroupName;
    }


    public void setWorkGroupName(String workGroupName)
    {
        this.workGroupName = workGroupName;
    }


    public DictionaryDTO getDiagnosisName()
    {
        return diagnosisName;
    }

    public void setDiagnosisName(DictionaryDTO diagnosisName)
    {
        this.diagnosisName = diagnosisName;
    }
}
